package com.ruoyi.app.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 对比记录对象 ht_compare_record
 */
public class HtCompareRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @Excel(name = "主键ID")
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 对比标题 */
    @Excel(name = "对比标题")
    private String title;

    /** 原文本 */
    @Excel(name = "原文本")
    private String originalText;

    /** 对比文本 */
    @Excel(name = "对比文本")
    private String compareText;

    /** 对比结果 */
    @Excel(name = "对比结果")
    private String diffResult;

    /** 开始时间 */
    private String beginTime;

    /** 结束时间 */
    private String endTime;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setOriginalText(String originalText) {
        this.originalText = originalText;
    }

    public String getOriginalText() {
        return originalText;
    }

    public void setCompareText(String compareText) {
        this.compareText = compareText;
    }

    public String getCompareText() {
        return compareText;
    }

    public void setDiffResult(String diffResult) {
        this.diffResult = diffResult;
    }

    public String getDiffResult() {
        return diffResult;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("title", getTitle())
                .append("originalText", getOriginalText())
                .append("compareText", getCompareText())
                .append("diffResult", getDiffResult())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
